package cn.glutnn.subject.domain.convert;

import cn.glutnn.subject.domain.enyity.SubjectLabelBO;
import cn.glutnn.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * Author:   msh
 * Date:     2024/11/22 下午10:46
 * Description:
 */
@Mapper
public interface SubjectLabelConverter {
    SubjectLabelConverter INSTANCE = Mappers.getMapper(SubjectLabelConverter.class);

    SubjectLabel convertBoToLabel(SubjectLabelBO subjectLabelBO);

    SubjectLabelBO convertLabelToBo(SubjectLabel subjectLabel);

    List<SubjectLabelBO> convertLabelListToBoList(List<SubjectLabel> subjectLabelList);

    List<SubjectLabel> convertBoListToLabelList(List<SubjectLabelBO> subjectLabelBOList);
}
